<script>
	function closebanner(){
		var d=document.getElementById("idTransformView");
		d.style.display='none';
	}
</script>
<link href="/css/lanrenkefu.css" type="text/css" rel="stylesheet" />
<script src="/static/js/lanrenkefu.js"></script>

<div class="head">

 <!--{include top_bar}-->
<script src="/static/js/banner.js" type="text/javascript"></script>
<style type="text/css">
	.wybanner{position: relative;height: 110px;overflow:hidden;font-size:0;z-index:0;width:100%; }
	.wybanner .num {bottom:6px;position: absolute;right: 1%;}
	.wybanner .num li{background: none repeat scroll 0 0 #FFFFFF;color: #D94B01;cursor: pointer;float: left;font-family: Arial;font-size: 12px;height: 10px; line-height: 10px;margin: 0 3px;overflow: hidden;text-align: center;width: 10px;border-radius:5px;}
	.wybanner .num li.on {background: none repeat scroll 0 0 #f86201;border-color: #B31313;color: #FFFFFF;font-size: 12px;font-weight: bold;height: 10px;line-height: 10px;margin: 0 3px;width: 10px;border-radius:5px;}
	
	.grade .level-icon,.grade .level-avatar {
	display:inline-block;
	*display:inline;
	width:15px;
	height:15px;
	background:url(/images/growth.png) 0 0 no-repeat;
	margin:0;
	padding:0;
	vertical-align:middle;
	*zoom:1
}
.grade .level-avatar {
	width:41px;
	height:15px;
	margin-right:24px
}
.grade .level-icon-0 {
	background-position:0 0
}
.grade .level-icon-1 {
	background-position:0 -25px
}
.grade .level-icon-2 {
	background-position:0 -50px
}
.grade .level-icon-3 {
	background-position:0 -75px
}
.grade .level-icon-4 {
	background-position:0 -100px
}
.grade .level-icon-5 {
	background-position:0 -125px
}
.grade .level-icon-6 {
	background-position:0 -150px
}
.grade .level-avatar-0 {
	background-position:-19px 0
}
.grade .level-avatar-1 {
	background-position:-19px -25px
}
.grade .level-avatar-2 {
	background-position:-19px -50px
}
.grade .level-avatar-3 {
	background-position:-19px -75px
}
.grade .level-avatar-4 {
	background-position:-19px -100px
}
.grade .level-avatar-5 {
	background-position:-19px -125px
}
.grade .level-avatar-6 {
	background-position:-19px -150px
}
	
	
</style>
 <div class="inside">
  
        <!-- 广告位：首页头部通栏 -->
		<!--{if $banner_indextops}-->
        <div style="margin-left:auto; margin-right:auto;width: 100%;padding:0px 10px 0 10px;">
                <div id="idTransformView" class="wybanner" style="overflow: hidden; position: relative;height:110px;" >
                    <ul id="idSlider" class="slider" style="height:110px;">
					  <!--{loop $banner_indextops $indextop}-->
                        <li style="position: absolute; z-index: 0; opacity: 0;width:1200px;;"> <a href="{$indextop['custom']}"><img src="${team_image($indextop['image'])}" width="100%" height="110px"></a> </li> 
						 <!--{/loop}-->
                       	   
        			</ul>
                    <ul id="idNum" class="num" style="z-index: 1;">
					  <!--{loop $banner_indextops $index $indextop}-->
                       <li ${!$index?'class="on"':''}><!--${++$index}--></li>
						 <!--{/loop}-->
                       
                     </ul>
                      <div style=" z-index: 1;position: absolute; right:16px; top:6px; width:8px; height:8px;" onclick="closebanner()">
                            <a style="cursor:hand;"><img src="/static/0750/css/img/colse.png"  width="8px" height="8px"/></a>
                     </div>
                </div>
        </div>
		 <!--{/if}-->
  <div class="centre">

   <div class="logo_style"></div><div class="clear"></div>

   <div class="logo">
   <a href="/index.php" class="log"><img src="/static/0750/css/img/logo.png"/></a>
   <div id="city">{$city['name']}<br/><a href="/city.php" class="change" >[切换城市]</a></div>
   </div>
      <div class="search">

    <div class="select">

     <a href="javascript:;" class="tg focus">团购</a><a href="javascript:;" class="sj">商家</a>

    </div>

    <div class="input">

     <form action="/search.php" method="POST" id="search_form">

     <div class="sp">

      <input type="text" class="tg" name="keywords" placeholder="请输入要搜索的团购名称" value="">

     </div>

     <div class="sb"><input type="submit" value="搜索"><input type="hidden" name="m" value="Goods"><input type="hidden" name="a" value="showall"></div>

     </form>

    </div>

    <div class="keyword">

    <a href="/category.php?keywords=自助餐" title="搜索 自助餐">自助餐</a>

    <a href="/category.php?keywords=西餐" title="搜索 西餐">西餐</a>


    <a href="/category.php?keywords=古兜温泉" title="搜索 古兜温泉">古兜温泉</a>

    <a href="/category.php?keywords=洗车" title="搜索 洗车">洗车</a>

    <a href="/category.php?keywords=蛋糕" title="搜索 蛋糕">蛋糕</a>

   </div>

   </div>

<div style="border:none;width:187px;height:50px; padding-top:45px">
    <a href="/introduce/privacy.php" target="_parent"><img src="/static/0750/images/commitment.gif" alt="" style="border:none;width:187px;height:45px;"></a>
   </div>  


  </div>

 </div>


  <div class="navigation inside">
  <div class="inside">

  

<!--导航分类代码 -->

<!--${

$categorys = get_categorys();

}--> 


   <div class="product-type-list ptl">

    <div class="choose"><a href="/index.php">全部分类</a></div>

    <div class="type-list tl" style="display:<!--{if $request_uri == 'index'}-->block<!--{else}-->none<!--{/if}-->;">

     <ul>

     <!--{loop $categorys $index $cat}-->

            <li class="tl${$index + 1}">

       <div class="gt"></div>       <div class="panel">

        <div class="ntype"><a href="/category.php?gid={$cat['id']}" class="n">{$cat['name']}</a></div>

        <div class="nkey">

        

          <!--{loop $cat['fcat'] $findex $fcat}-->

            <!--{if $findex < 2}-->

           <a href="/category.php?gid={$cat['id']}&sid={$fcat['id']}">{$fcat['name']}</a>

             <!--{/if}-->

         <!--{/loop}-->

        

        </div>      

        

         </div>

       <div class="showmenu" style="display: none;">

        <div class="this-type-all tta">

         <p class="t">{$cat['name']}</p>

         <p class="ty">

         <!--{loop $cat['fcat'] $findex $fcat}-->

        <a href="/category.php?gid={$cat['id']}&sid={$fcat['id']}">{$fcat['name']}</a>

         

          <!--{/loop}-->

         

         </p>

         <p class="hr"></p>                

          </div>

       </div>      </li>

       <!--{/loop}-->   

           </ul>

    </div>

   </div>

   

   

<!--{if $request_uri != 'index'}-->     

  <script type="text/javascript">



$(document).ready(function(){	  

	  

  $('.product-type-list').on('mouseover',function(){



  $(this).find('.type-list').show();

  

  });



  $('.product-type-list').on('mouseleave',function(){

  

  

  $(this).find('.type-list').hide();

  

  });

 }); 

</script>

<!--{/if}--> 
   <div class="nav">

    <ul>

     <li><a href="/" <!--{if $pagetitle=='首页'}-->class="selected"<!--{/if}-->>首页</a></li>

      <li><a href="/category.php?a=new" <!--{if $pagetitle=='每日新单'}-->class="selected"<!--{/if}-->>每日新单</a></li>
<!--{if option_yes('navpartner')}-->
     <li><a href="/partner/" <!--{if $pagetitle=='商家列表'}-->class="selected"<!--{/if}-->>商家列表</a></li>
<!--{/if}-->
<!--{if option_yes('catepartner')}-->
     <li><a href="/store.php" <!--{if $pagetitle=='品牌店'}-->class="selected"<!--{/if}-->>品牌店</a></li>
<!--{/if}-->
<!--{if option_yes('navseconds')}-->
	<li><a href="/nearby.php" <!--{if $pagetitle=='附近的团'}-->class="selected"<!--{/if}-->>附近的团</a></li>
<!--{/if}--> 
<!--{if option_yes('usercredit') && option_yes('creditshop')}-->
     <li><a href="/credit/creditshop.php" <!--{if $pagetitle=='积分商城'}-->class="selected"<!--{/if}-->>积分商城</a></li>
<!--{/if}--> 
 <li ><a href="/forum/index.php" >论坛</a> </li>
     <li class="history"><a href="/app_download.php" target="_blank">下载手机客户端</a>

     

     </li>

    </ul>

   </div>

  </div>

 </div>

 </div>